home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Java 1996 August
/
Java - Summer 1996.iso
/
kaffe-0.2
/
kaffe
/
baseClasses.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-02-12
|
1KB
|
50 lines
/*
* baseClasses.h
* Handle base classes.
*
* Copyright (c) 1996 Systems Architecture Research Centre,
* City University, London, UK.
*
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
* Written by Tim Wilkinson <tim@sarc.city.ac.uk>, February 1996.
*/
#ifndef __baseclasses_h
#define __baseclasses_h
#include "object.h"
typedef struct _stringClass {
object head;
object* value;
int offset;
int count;
} stringClass;
#define STRINGCLASS "java/lang/String"
#define STRINGINIT "<init>"
#define STRINGINITSIG "([C)V"
#define OBJECTCLASS "java/lang/Object"
#define CLASSCLASS "java/lang/Class"
void initBaseClasses(void);
struct _strconst;
struct _strpair;
struct _constants;
struct _classes;
char* addString(char*);
struct _strpair* addStringPair(char*, char*);
stringClass* getString(struct _strconst*);
void makeStringObject(int, struct _constants*);
void initClasses(void);
extern struct _classes* ClassClass;
extern struct _classes* ClassString;
#endif